package edu.scau.cxq.gp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 存储仓库信息
 * @return
 * @author TLC
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_warehouse")
public class Warehouse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库编号
     */
    @TableId(value = "ware_id", type = IdType.AUTO)
    private Long wareId;

    /**
     * 仓库名称
     */
    @TableField("ware_name")
    private String wareName;

    /**
     * 仓库总货架数
     */
    @TableField("ware_contains")
    private Integer wareContains;

    /**
     * 仓库空闲货架数
     */
    @TableField("ware_free")
    private Integer wareFree;

    /**
     * 仓库地址
     */
    @TableField("ware_address")
    private String wareAddress;

    /**
     * 隐藏位1
     */
    @TableField("ware_hidden")
    private Integer wareHidden;


}
